package com.zqx.demo2;

/**
 * @author xiang.orchid@gmail.com
 * @Create 2016-10-13 11:25
 */

public class Client {

    public static void main(String[] args) {
        Product product;
        product = Factory.getProduct("A");//通过工厂类创建产品对象
        product.methodSame();
        product.methodDiff();
    }
}
